package com.hypo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "nursing_project_plan")
public class NursingProjectPlan {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 计划id
     */
    @TableField(value = "plan_id")
    private Integer planId;

    /**
     * 项目id
     */
    @TableField(value = "project_id")
    private Integer projectId;

    /**
     * 计划执行时间
     */
    @TableField(value = "execute_time")
    private String executeTime;

    /**
     * 执行周期 0 天 1 周 2月
     */
    @TableField(value = "execute_cycle")
    private Integer executeCycle;

    /**
     * 执行频次
     */
    @TableField(value = "execute_frequency")
    private Integer executeFrequency;

    @TableField(value = "create_time")
    private LocalDateTime createTime; //创建时间
    @TableField(value = "update_time")
    private LocalDateTime updateTime; //更新时间
    @TableField(value = "create_by")
    private Integer createBy; //创建人id
    @TableField(value = "update_by")
    private Integer updateBy; //更新人id
    @TableField(value = "remark")
    private String remark; //备注


}
